try{
  ksdljfkl
}catch (e){
    console.log(e);
}